]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Fix fullscreen windows in ws switching animations
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 3 May 2019 20:56:02 +0000 (22:56 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 3 May 2019 22:14:04 +0000 (22:14 +0000)
commit4e6b2eb72a0920c534845fe789dfeecd0cb90295
tree76a18c170bc915288305a345c2e938f2b8f5234c
parent2e5295b3a9dbcdbfd4a67f787b059c4e11ac9a1c
windowManager: Fix fullscreen windows in ws switching animations

To prevent a small gap between windows in the workspace switching
animation, we temporarily shift windows up or down by the height of the
panel. This obviously breaks the animation for fullscreen windows, those
will overlap with the ones on the other workspace since there is no
panel shown in that case.

Fix this by checking whether the old or new workspace includes a
fullscreen window and don't shift the windows if there is one.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/757

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/322
js/ui/windowManager.js